#pragma once
#include "PropChangeEvent.h"
namespace SHGame {
	namespace Events {
		using namespace System;
		using namespace SHGame;
		using namespace SHGame::Events;
		public ref class Event
		{
		private:
			static long id = 0;
		public:
			property long ID;
			property PropChangeEvent^ Args;
			property Object^ Source;
			Event(Object^ s, PropChangeEvent^ args);
			
			virtual String^ ToString() override {
				return "Event #"+ID+" src="+Source+"  " + Args;
			}
		};
	}
}
